package org.dormnet.dao.bean;

import java.util.Date;


public class Picture {
	private int pid;
	private int alid;
	private String picname;
	private Date picttime;
	private String description;
	private int isdeleted;
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public int getAlid() {
		return alid;
	}
	public void setAlid(int alid) {
		this.alid = alid;
	}
	public String getPicname() {
		return picname;
	}
	public void setPicname(String picname) {
		this.picname = picname;
	}
	public Date getPicttime() {
		return picttime;
	}
	public void setPicttime(Date picttime) {
		this.picttime = picttime;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getIsdeleted() {
		return isdeleted;
	}
	public void setIsdeleted(int isdeleted) {
		this.isdeleted = isdeleted;
	}
	@Override
	public String toString() {
		return "Picture [pid=" + pid + ", alid=" + alid + ", picname="
				+ picname + ", picttime=" + picttime + ", description="
				+ description + ", isdeleted=" + isdeleted + "]";
	}
	public Picture(int pid, int alid, String picname, Date picttime,
			String description, int isdeleted) {
		super();
		this.pid = pid;
		this.alid = alid;
		this.picname = picname;
		this.picttime = picttime;
		this.description = description;
		this.isdeleted = isdeleted;
	}
	public Picture() {
		super();
	}
	
	
}
